﻿@{
    ViewBag.Title = "Activate";
    bool _HasActivated = ViewData[AppConstants.ViewDataKeys.HAS_ACTIVATED] == null ? false : Convert.ToBoolean(ViewData[AppConstants.ViewDataKeys.HAS_ACTIVATED]);
}


@{          
    String pageTitle = "Activation Success";
    
    ViewBag.Title = Html.GetPageTitle(pageTitle);    
}

<div class="page-heading">
    <h1>@pageTitle</h1>
    @*<div>
        Manage your company profile information. This is very important to highlight your company.
    </div>*@
</div>



@Html.ValidationMessage(AppConstants.Validation.WRONG_ACTIVATION_REQUEST)

@if (_HasActivated)
{
    <div class="GroupBox">
        Congratulations! Your Company and new users were activated successfully. You can now @Html.PublicLink("login", "logon", "account") to @ConfigReader.SiteName
    </div>
}
else
{
    <div class="GroupBox">
        @Html.ErrorMessageBox("Sorry! Your company activation process was not successful.")
    </div>
}

